package com.livery.app.view;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.List;

import com.livery.app.controller.AbstractWorkspaceController;
import com.livery.app.model.AbstractWorkspaceModel;
import com.livery.app.model.observators.BookingObserver;
import com.livery.app.model.observators.CarObserver;
import com.livery.app.model.observators.ClientObserver;
import com.livery.app.model.observators.TransactionObserver;
import com.livery.data.Booking;
import com.livery.data.Car;
import com.livery.data.Client;
import com.livery.data.Transaction;

public class WorkerView implements ActionListener, AbstractWorkerView{

	private AbstractWorkspaceModel model;
	private AbstractWorkspaceController controller;
	
	public WorkerView(AbstractWorkspaceModel model, AbstractWorkspaceController controller){
		this.model = model;
		this.controller = controller;
		model.registerObserver((CarObserver)this);
		model.registerObserver((ClientObserver)this);
		model.registerObserver((BookingObserver)this);
		model.registerObserver((TransactionObserver)this);
	}
	


	@Override
	public void newTransaction() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void newClient() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void newBooking() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void editClient(Client client) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void editTransaction(Transaction transaction) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void editBooking(Booking booobs) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void addRepair(Car car) {
		// TODO Auto-generated method stub
		
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
	}



	@Override
	public void updateClient(List<Client> list) {
		
	}



	@Override
	public void updateTransaction(List<Transaction> list) {
		// TODO Auto-generated method stub
		
	}



	@Override
	public void updateBooking(List<Booking> list) {
		// TODO Auto-generated method stub
		
	}



	@Override
	public void updateCar(List<Car> list) {
		// TODO Auto-generated method stub
		
	}


}
